package com.gmgx.hrms.entity;

import java.time.LocalDateTime;

public class OL {
    private Integer ol_id;
    private Emp ol_emp;
    private String ol_status;  //状态
    private LocalDateTime ol_start;
    private  LocalDateTime ol_end;
    private String ol_type;   //类型   请假   加班
    private String ol_reason;  //原因

    public Integer getOl_id() {
        return ol_id;
    }

    public void setOl_id(Integer ol_id) {
        this.ol_id = ol_id;
    }

    public Emp getOl_emp() {
        return ol_emp;
    }

    public void setOl_emp(Emp ol_emp) {
        this.ol_emp = ol_emp;
    }

    public String getOl_status() {
        return ol_status;
    }

    public void setOl_status(String ol_status) {
        this.ol_status = ol_status;
    }

    public LocalDateTime getOl_start() {
        return ol_start;
    }

    public void setOl_start(LocalDateTime ol_start) {
        this.ol_start = ol_start;
    }

    public LocalDateTime getOl_end() {
        return ol_end;
    }

    public void setOl_end(LocalDateTime ol_end) {
        this.ol_end = ol_end;
    }

    public String getOl_type() {
        return ol_type;
    }

    public void setOl_type(String ol_type) {
        this.ol_type = ol_type;
    }

    public String getOl_reason() {
        return ol_reason;
    }

    public void setOl_reason(String ol_reason) {
        this.ol_reason = ol_reason;
    }

    @Override
    public String toString() {
        return "OL{" +
                "ol_id=" + ol_id +
                ", ol_emp=" + ol_emp +
                ", ol_status='" + ol_status + '\'' +
                ", ol_start=" + ol_start +
                ", ol_end=" + ol_end +
                ", ol_type='" + ol_type + '\'' +
                ", ol_reason='" + ol_reason + '\'' +
                '}';
    }
}
